package com.lingkang.ztauthserver.service;

import com.lingkang.ztauthserver.data.entity.Roles;
import com.lingkang.ztauthserver.data.entity.Users;
import java.util.List;

/**
 * @author linke
 * @date 2020/11/12 22:28
 * @description
 */
public interface UserService {

  Users get(String username);

  /**
   * 获取角色
   */
  List<Roles> getRoles(String username);
}
